package com.ruoyi.rva.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 对象对象 rva_object
 * 
 * @author jiaodacailei
 * @date 2021-07-28
 */
public class RvaObject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 编号 */
    @Excel(name = "编号")
    private String no;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 索引 */
    @Excel(name = "索引")
    private Long idx;

    /** 模块前缀 */
    @Excel(name = "模块前缀")
    private String module;

    /** 状态（0关系表 1普通表） */
    @Excel(name = "状态", readConverterExp = "0=关系表,1=普通表")
    private String status;

    /** 说明 */
    @Excel(name = "说明")
    private String description;

    /** 名称属性名 */
    @Excel(name = "名称属性名")
    private String propNameName;

    /** 逻辑删除属性名 */
    @Excel(name = "逻辑删除属性名")
    private String propNameDel;

    /** 层级编号属性名 */
    @Excel(name = "层级编号属性名")
    private String propNameNo;

    /** 主键属性名 */
    @Excel(name = "主键属性名")
    private String propNameKey;

    /** 创建人属性名 */
    @Excel(name = "创建人属性名")
    private String propNameCreateBy;

    /** 唯一键 */
    @Excel(name = "唯一键")
    private String uniques;

    /** 创建时间属性名 */
    @Excel(name = "创建时间属性名")
    private String propNameCreateTime;

    /** 属性索引最大值 */
    @Excel(name = "属性索引最大值")
    private Integer propIndexMax;

    /** 修改人属性名 */
    @Excel(name = "修改人属性名")
    private String propNameUpdateBy;

    /** 关系索引最大值 */
    @Excel(name = "关系索引最大值")
    private Integer relationIndexMax;

    /** 其他数据 */
    @Excel(name = "其他数据")
    private String data;

    /** 修改时间属性名 */
    @Excel(name = "修改时间属性名")
    private String propNameUpdateTime;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setNo(String no) 
    {
        this.no = no;
    }

    public String getNo() 
    {
        return no;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setIdx(Long idx) 
    {
        this.idx = idx;
    }

    public Long getIdx() 
    {
        return idx;
    }
    public void setModule(String module) 
    {
        this.module = module;
    }

    public String getModule() 
    {
        return module;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setPropNameName(String propNameName) 
    {
        this.propNameName = propNameName;
    }

    public String getPropNameName() 
    {
        return propNameName;
    }
    public void setPropNameDel(String propNameDel) 
    {
        this.propNameDel = propNameDel;
    }

    public String getPropNameDel() 
    {
        return propNameDel;
    }
    public void setPropNameNo(String propNameNo) 
    {
        this.propNameNo = propNameNo;
    }

    public String getPropNameNo() 
    {
        return propNameNo;
    }
    public void setPropNameKey(String propNameKey) 
    {
        this.propNameKey = propNameKey;
    }

    public String getPropNameKey() 
    {
        return propNameKey;
    }
    public void setPropNameCreateBy(String propNameCreateBy) 
    {
        this.propNameCreateBy = propNameCreateBy;
    }

    public String getPropNameCreateBy() 
    {
        return propNameCreateBy;
    }
    public void setUniques(String uniques) 
    {
        this.uniques = uniques;
    }

    public String getUniques() 
    {
        return uniques;
    }
    public void setPropNameCreateTime(String propNameCreateTime) 
    {
        this.propNameCreateTime = propNameCreateTime;
    }

    public String getPropNameCreateTime() 
    {
        return propNameCreateTime;
    }
    public void setPropIndexMax(Integer propIndexMax) 
    {
        this.propIndexMax = propIndexMax;
    }

    public Integer getPropIndexMax() 
    {
        return propIndexMax;
    }
    public void setPropNameUpdateBy(String propNameUpdateBy) 
    {
        this.propNameUpdateBy = propNameUpdateBy;
    }

    public String getPropNameUpdateBy() 
    {
        return propNameUpdateBy;
    }
    public void setRelationIndexMax(Integer relationIndexMax) 
    {
        this.relationIndexMax = relationIndexMax;
    }

    public Integer getRelationIndexMax() 
    {
        return relationIndexMax;
    }
    public void setData(String data) 
    {
        this.data = data;
    }

    public String getData() 
    {
        return data;
    }
    public void setPropNameUpdateTime(String propNameUpdateTime) 
    {
        this.propNameUpdateTime = propNameUpdateTime;
    }

    public String getPropNameUpdateTime() 
    {
        return propNameUpdateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("name", getName())
            .append("idx", getIdx())
            .append("module", getModule())
            .append("status", getStatus())
            .append("description", getDescription())
            .append("propNameName", getPropNameName())
            .append("propNameDel", getPropNameDel())
            .append("propNameNo", getPropNameNo())
            .append("propNameKey", getPropNameKey())
            .append("propNameCreateBy", getPropNameCreateBy())
            .append("uniques", getUniques())
            .append("propNameCreateTime", getPropNameCreateTime())
            .append("propIndexMax", getPropIndexMax())
            .append("propNameUpdateBy", getPropNameUpdateBy())
            .append("relationIndexMax", getRelationIndexMax())
            .append("data", getData())
            .append("propNameUpdateTime", getPropNameUpdateTime())
            .toString();
    }
}
